---
page_title: "cloudflare_custom_hostname_fallback_origin Resource - Cloudflare"
subcategory: ""
description: |-
  Provides a Cloudflare custom hostname fallback origin resource.
---

# cloudflare_custom_hostname_fallback_origin (Resource)

Provides a Cloudflare custom hostname fallback origin resource.

## Example Usage

```terraform
resource "cloudflare_custom_hostname_fallback_origin" "example" {
  zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
  origin  = "fallback.example.com"
}
```
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `origin` (String) Hostname you intend to fallback requests to. Origin must be a proxied A/AAAA/CNAME DNS record within Clouldflare.
- `zone_id` (String) The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**

### Read-Only

- `id` (String) The ID of this resource.
- `status` (String) Status of the fallback origin's activation.

## Import

Import is supported using the following syntax:

```shell
$ terraform import cloudflare_custom_hostname_fallback_origin.example <zone_id>/<fallback_hostname>
```
